package com.demon.auto.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demon.auto.model.entity.SignRecordEntity;
import com.demon.auto.model.vo.PageVo;
import com.demon.auto.model.vo.SignRecordVo;

/**
 * 签到记录
 *
 * @version 1.0
 * @author huangrz
 * @date 2025/02/13 17:06
 */
public interface SignRecordService extends IService<SignRecordEntity> {

    /**
     * 保存签到执行结果
     * @param signRecordEntity 签到记录
     * @return boolean
     */
    boolean saveSignResult(SignRecordEntity signRecordEntity);

    /**
     * 分页查询
     * @param condition 查询条件
     * @return PageVo<SignRecordEntity>
     */
    PageVo<SignRecordEntity> queryByPage(SignRecordVo condition);

}
